package com.wkbb.basic.feign;

import com.wkbb.common.dto.ResultDTO;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author yangdaofang
 * 创建时间：2020-08-06 16:11
 */
@FeignClient(name = "wkbb-community-service")
public interface CommunityFeignService {

    @ApiOperation(value = "升班视频解绑班级ID")
    @PostMapping(value = "/community/v1/video/updateVideoListByOrgIdAndClassId")
    ResultDTO updateVideoListByOrgIdAndClassId(
            @ApiParam(value = "学校ID", required = true) @RequestParam(name = "orgId", required = true) Long orgId,
            @ApiParam(value = "班级ID", required = true) @RequestParam(name = "classId", required = true) Long classId
    );
}
